A5.InkBackground Settings Object
Description
Definition of the ink page background.
Properties
- saveboolean
Whether or not to save the background in the ink when it is committed. It can be useful to not save the background in the ink if the background image is being stored elsewhere.
- colorstring
CSS color to use in the background of the page.
- imageobject
Image to put in the background of the ink.
- datastring
The data (URL) for the background image.
- sizestringobject
The size for that background image. Can be a string with the value of "cover" to have the image cover the ink, or "contain" to have the image contained inside the page.
- widthnumber
The width in "ink units" to make the image.
- heightnumber
The height in "ink units" to make the image.
- positionstring
Where to position the image in the background of the page. Options are "center", "top", "left", "right", "bottom", "top left", "top right", "bottom left" and "bottom right".